#ifndef _DevicesBlower_H_
#define _DevicesBlower_H_

#define BLOWER_PWM_PRESCALER 9
#define BLOWER_PWM_FREQUENCY 210
#define BLOWER_PWM_PERIOD    (SystemCoreClock / BLOWER_PWM_PRESCALER / BLOWER_PWM_FREQUENCY)



#define cBlowerSetSpeed(speed) do{ TIMER_CH3CV(TIMER4) = (speed) * 0.01f * BLOWER_PWM_PERIOD; }while(0)





void vBlowerInit(void);

#endif
